<?php

namespace App\Http\Requests\Permission;

use App\Http\Requests\ApiRequest;

class RoleStoreRequest extends ApiRequest
{
    public function authorize()
    {
        return true;
    }

    public function rules()
    {
        return [
            'role.name' => 'required|string',
            'permissions' => 'required|array',
        ];
    }
}
